//
//  LJFriendsGroup.h
//  LJClientKit
//
//  Created by Anton Chebotaev on 2/10/09.
//  Copyright 2009 AntonChebotaev. All rights reserved.
//

#import <Cocoa/Cocoa.h>

// Exceptions
FOUNDATION_EXPORT NSString * const LJFriendsGroupBadInitException;

@interface LJFriendsGroup : NSObject <NSCoding> {
	int groupID;
	NSString *name;
	int sortOrder;
	BOOL publicGroup;
}

@property (readonly) int groupID;
@property (readonly) NSString *name;
@property (readonly) int sortOrder;
@property (readonly) BOOL publicGroup;

- (id)initWithID:(int)aGroupID name:(NSString *)aName sortOrder:(int)aSortOrder publicMode:(BOOL)isPublic;
+ (id)groupWithID:(int)aGroupID name:(NSString *)aName sortOrder:(int)aSortOrder publicMode:(BOOL)isPublic;

@end
